/**
 * The store define all function under the module
 */
Ext.define('appmod.store.resources.module.AllFuns', {
    extend: 'Ext.data.Store',
    model: 'appmod.model.resources.ModuleFunction',
    autoLoad: false,

    proxy: {
        type: 'ajax',
        url : '../../data/resource/resources/module/list_funs.json',
        reader: {
            type: 'json',
            root: 'rows'
        },
		writer: {
			type : 'json',
			writeAllFields : true
		},
		api : {
			update : '../../data/resource/resources/module/update_funs.json'
		}

	}


});
